<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE HTML>

<html lang="zh-CN">

<head>

	<meta charset="UTF-8">

	<title>凯盛项目管理系统</title>

	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.min.js"></script>

</head>

<body class="body">

	

	<div class="navbar navbar-fixed-top">

		<div class="navbar-inner">

			<div class="container">

				<a class="brand" href="#">凯盛项目管理系统</a>

			</div>

		</div>

	</div>

	

	

	<div class="container">

	  <div class="row">

		<div class="span9">
			<div class="page-header">
          		<h2>项目列表</h2>
          	</div>

			<form class="form-horizontal" name="suibian" action="new_project.jspx"  method="post" id="fm">

        <fieldset>

          <legend>开始一个新项目</legend>

          <div class="control-group">

            <label class="control-label" for="input01" >项目名称</label>

            <div class="controls">

              <input type="text" class="span5" id="input01" x-webkit-speech="undefined" name="pname">

              <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p>

            </div>

          </div>

          <div class="control-group">

            <label class="control-label" for="input01" >项目描述</label>

            <div class="controls">

              <textarea class="span5" rows="4" name="ptext"></textarea>

            </div>

          </div>

          <div class="control-group">

            <label class="control-label" for="multiSelect" >负责人</label>

            <div class="controls">

              <select id="multiSelect" name="massage">
              
					<option></option>
                <c:forEach var="user" items="${userlist }">
                	<option value="${user.username}">${user.username}</option>
                	
                </c:forEach>
                

              </select>

            </div>

          </div>

         <div class="control-group">

            <label class="control-label" for="input01">项目成员</label>

            <div class="controls">

              <input type="text" class="span5" id="input01" x-webkit-speech="undefined" name="mem">

            </div>

          </div>

          

          <div class="form-actions" >
			
				 <button type="button" class="btn btn-primary" id="baocun">保存</button>

           		<button class="btn" onclick="location.back()">返回</button>  
		
           

          </div>

        </fieldset>

      </form>          

          	

		</div>

		<div class="span3">

			

		</div>

	  </div>

	</div>
	
	<script type="text/javascript">
		$(document).ready(function(){
      
     		$("#baocun").click(function(){
    	  //js验证
    	  
    	  		$("#fm").submit();
        
      });
    });
	
	</script>

</body>

</html>